<div draggable mat-dialog-title>
  <h6>{{"ackAlarmTitle" | translate}} - {{person.personName}}</h6>
</div>

<div mat-dialog-content class="wdl-dialog-content">
  <mat-selection-list #acks>
    <mat-list-option *ngFor="let alarm of alarms" [selected]="isAcked(alarm)" [disabled]="isAcked(alarm) || !isUserQualified()" [value]="alarm">{{alarm | translate}}</mat-list-option>
  </mat-selection-list>
</div>

<div mat-dialog-actions>
  <button mat-button (click)="dialogRef.close([])">{{'close' | translate}}</button>
  <button mat-button (click)="submit(acks.selectedOptions.selected)" [disabled]="!isUserQualified()">{{'ackAlarm' | translate}}</button>
</div>
